<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MTB CAT1 Peripheral driver library: Functions</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MTB CAT1 Peripheral driver library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__group__systick__functions.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Functions<div class="ingroups"><a class="el" href="group__group__arm__system__timer.html">SysTick      (Arm&amp;reg; System Timer)</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gac600820b0201e4ad5a171e97f7642c62"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__systick__functions.html#gac600820b0201e4ad5a171e97f7642c62">Cy_SysTick_Init</a> (<a class="el" href="group__group__systick__data__structures.html#ga466b1e8fe4278011eab77a691ce2b8f9">cy_en_systick_clock_source_t</a> clockSource, uint32_t interval)</td></tr>
<tr class="memdesc:gac600820b0201e4ad5a171e97f7642c62"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the SysTick driver:  <a href="#gac600820b0201e4ad5a171e97f7642c62">More...</a><br /></td></tr>
<tr class="separator:gac600820b0201e4ad5a171e97f7642c62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga14017a044d9158c88c6cd589b6bd6895"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__systick__functions.html#ga14017a044d9158c88c6cd589b6bd6895">Cy_SysTick_Enable</a> (void)</td></tr>
<tr class="memdesc:ga14017a044d9158c88c6cd589b6bd6895"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables the SysTick timer and its interrupt.  <a href="#ga14017a044d9158c88c6cd589b6bd6895">More...</a><br /></td></tr>
<tr class="separator:ga14017a044d9158c88c6cd589b6bd6895"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf371c2b11a3b5bb8241842298137167b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__systick__functions.html#gaf371c2b11a3b5bb8241842298137167b">Cy_SysTick_Disable</a> (void)</td></tr>
<tr class="memdesc:gaf371c2b11a3b5bb8241842298137167b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disables the SysTick timer and its interrupt.  <a href="#gaf371c2b11a3b5bb8241842298137167b">More...</a><br /></td></tr>
<tr class="separator:gaf371c2b11a3b5bb8241842298137167b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac20a2349069c5268c6e3f05c6777b9c9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__systick__data__structures.html#ga4aa1602b88172949b1b1564c590a56ff">Cy_SysTick_Callback</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__systick__functions.html#gac20a2349069c5268c6e3f05c6777b9c9">Cy_SysTick_SetCallback</a> (uint32_t number, <a class="el" href="group__group__systick__data__structures.html#ga4aa1602b88172949b1b1564c590a56ff">Cy_SysTick_Callback</a> function)</td></tr>
<tr class="memdesc:gac20a2349069c5268c6e3f05c6777b9c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the callback function to the specified callback number.  <a href="#gac20a2349069c5268c6e3f05c6777b9c9">More...</a><br /></td></tr>
<tr class="separator:gac20a2349069c5268c6e3f05c6777b9c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3fb4a65fcdb113c20d679e5d9ae5f2e8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__systick__data__structures.html#ga4aa1602b88172949b1b1564c590a56ff">Cy_SysTick_Callback</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__systick__functions.html#ga3fb4a65fcdb113c20d679e5d9ae5f2e8">Cy_SysTick_GetCallback</a> (uint32_t number)</td></tr>
<tr class="memdesc:ga3fb4a65fcdb113c20d679e5d9ae5f2e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the specified callback function address.  <a href="#ga3fb4a65fcdb113c20d679e5d9ae5f2e8">More...</a><br /></td></tr>
<tr class="separator:ga3fb4a65fcdb113c20d679e5d9ae5f2e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa8a72d8a278e4a3a970b4c4a021f3647"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__systick__functions.html#gaa8a72d8a278e4a3a970b4c4a021f3647">Cy_SysTick_SetClockSource</a> (<a class="el" href="group__group__systick__data__structures.html#ga466b1e8fe4278011eab77a691ce2b8f9">cy_en_systick_clock_source_t</a> clockSource)</td></tr>
<tr class="memdesc:gaa8a72d8a278e4a3a970b4c4a021f3647"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the clock source for the SysTick counter.  <a href="#gaa8a72d8a278e4a3a970b4c4a021f3647">More...</a><br /></td></tr>
<tr class="separator:gaa8a72d8a278e4a3a970b4c4a021f3647"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6d72adec7b58994ff9097bb4a301fa95"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__systick__data__structures.html#ga466b1e8fe4278011eab77a691ce2b8f9">cy_en_systick_clock_source_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__systick__functions.html#ga6d72adec7b58994ff9097bb4a301fa95">Cy_SysTick_GetClockSource</a> (void)</td></tr>
<tr class="memdesc:ga6d72adec7b58994ff9097bb4a301fa95"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the clock source for the SysTick counter.  <a href="#ga6d72adec7b58994ff9097bb4a301fa95">More...</a><br /></td></tr>
<tr class="separator:ga6d72adec7b58994ff9097bb4a301fa95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga36b65972d744b6f9d5c688fc606afe1a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__systick__functions.html#ga36b65972d744b6f9d5c688fc606afe1a">Cy_NsSysTick_Enable</a> (void)</td></tr>
<tr class="memdesc:ga36b65972d744b6f9d5c688fc606afe1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables the Non-Secure SysTick timer and its interrupt.  <a href="#ga36b65972d744b6f9d5c688fc606afe1a">More...</a><br /></td></tr>
<tr class="separator:ga36b65972d744b6f9d5c688fc606afe1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5e17caf26c439a21e5dc5b7164909f4a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__systick__functions.html#ga5e17caf26c439a21e5dc5b7164909f4a">Cy_NsSysTick_Disable</a> (void)</td></tr>
<tr class="memdesc:ga5e17caf26c439a21e5dc5b7164909f4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disables the Non-Secure SysTick timer and its interrupt.  <a href="#ga5e17caf26c439a21e5dc5b7164909f4a">More...</a><br /></td></tr>
<tr class="separator:ga5e17caf26c439a21e5dc5b7164909f4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga36398b8c61a500994e90096f92b4e694"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__systick__functions.html#ga36398b8c61a500994e90096f92b4e694">Cy_SysTick_EnableInterrupt</a> (void)</td></tr>
<tr class="memdesc:ga36398b8c61a500994e90096f92b4e694"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables the SysTick interrupt.  <a href="#ga36398b8c61a500994e90096f92b4e694">More...</a><br /></td></tr>
<tr class="separator:ga36398b8c61a500994e90096f92b4e694"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0948cb7614955d41fabc1885d258ddad"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__systick__functions.html#ga0948cb7614955d41fabc1885d258ddad">Cy_SysTick_DisableInterrupt</a> (void)</td></tr>
<tr class="memdesc:ga0948cb7614955d41fabc1885d258ddad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disables the SysTick interrupt.  <a href="#ga0948cb7614955d41fabc1885d258ddad">More...</a><br /></td></tr>
<tr class="separator:ga0948cb7614955d41fabc1885d258ddad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6c57ab9eb1027fef897bf85237cc21b2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__systick__functions.html#ga6c57ab9eb1027fef897bf85237cc21b2">Cy_NsSysTick_EnableInterrupt</a> (void)</td></tr>
<tr class="memdesc:ga6c57ab9eb1027fef897bf85237cc21b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables the Non-Secure SysTick interrupt.  <a href="#ga6c57ab9eb1027fef897bf85237cc21b2">More...</a><br /></td></tr>
<tr class="separator:ga6c57ab9eb1027fef897bf85237cc21b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafe9fc6d47acf31d335c010dc7b083bb2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__systick__functions.html#gafe9fc6d47acf31d335c010dc7b083bb2">Cy_NsSysTick_DisableInterrupt</a> (void)</td></tr>
<tr class="memdesc:gafe9fc6d47acf31d335c010dc7b083bb2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disables the Non-Secure SysTick interrupt.  <a href="#gafe9fc6d47acf31d335c010dc7b083bb2">More...</a><br /></td></tr>
<tr class="separator:gafe9fc6d47acf31d335c010dc7b083bb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1825a0f6b0f66b0219f4940003e35ca7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__systick__functions.html#ga1825a0f6b0f66b0219f4940003e35ca7">Cy_SysTick_SetReload</a> (uint32_t value)</td></tr>
<tr class="memdesc:ga1825a0f6b0f66b0219f4940003e35ca7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the value the counter is set to on a startup and after it reaches zero.  <a href="#ga1825a0f6b0f66b0219f4940003e35ca7">More...</a><br /></td></tr>
<tr class="separator:ga1825a0f6b0f66b0219f4940003e35ca7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6bde70df57ef74ca13af8c3f0a0b035d"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__systick__functions.html#ga6bde70df57ef74ca13af8c3f0a0b035d">Cy_SysTick_GetReload</a> (void)</td></tr>
<tr class="memdesc:ga6bde70df57ef74ca13af8c3f0a0b035d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the value the counter is set to on a startup and after it reaches zero.  <a href="#ga6bde70df57ef74ca13af8c3f0a0b035d">More...</a><br /></td></tr>
<tr class="separator:ga6bde70df57ef74ca13af8c3f0a0b035d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabd317e3d43304ce55f361b31c36d6ffa"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__systick__functions.html#gabd317e3d43304ce55f361b31c36d6ffa">Cy_SysTick_GetValue</a> (void)</td></tr>
<tr class="memdesc:gabd317e3d43304ce55f361b31c36d6ffa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current SysTick counter value.  <a href="#gabd317e3d43304ce55f361b31c36d6ffa">More...</a><br /></td></tr>
<tr class="separator:gabd317e3d43304ce55f361b31c36d6ffa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacf2378c36980d2d3c7277170ad15bcfc"><td class="memItemLeft" align="right" valign="top"><a id="gacf2378c36980d2d3c7277170ad15bcfc"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__systick__functions.html#gacf2378c36980d2d3c7277170ad15bcfc">Cy_SysTick_Clear</a> (void)</td></tr>
<tr class="memdesc:gacf2378c36980d2d3c7277170ad15bcfc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the SysTick counter for a well-defined startup. <br /></td></tr>
<tr class="separator:gacf2378c36980d2d3c7277170ad15bcfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga017a95376f255399cfb254bc33815cf7"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__systick__functions.html#ga017a95376f255399cfb254bc33815cf7">Cy_SysTick_GetCountFlag</a> (void)</td></tr>
<tr class="memdesc:ga017a95376f255399cfb254bc33815cf7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the values of the count flag.  <a href="#ga017a95376f255399cfb254bc33815cf7">More...</a><br /></td></tr>
<tr class="separator:ga017a95376f255399cfb254bc33815cf7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="gac600820b0201e4ad5a171e97f7642c62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac600820b0201e4ad5a171e97f7642c62">&#9670;&nbsp;</a></span>Cy_SysTick_Init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_SysTick_Init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__systick__data__structures.html#ga466b1e8fe4278011eab77a691ce2b8f9">cy_en_systick_clock_source_t</a>&#160;</td>
          <td class="paramname"><em>clockSource</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>interval</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initializes the SysTick driver: </p>
<ul>
<li>Initializes the callback addresses with pointers to NULL</li>
<li>Associates the SysTick system vector with the callback functions</li>
<li>Sets the SysTick clock by calling <a class="el" href="group__group__systick__functions.html#gaa8a72d8a278e4a3a970b4c4a021f3647">Cy_SysTick_SetClockSource()</a></li>
<li>Sets the SysTick reload interval by calling <a class="el" href="group__group__systick__functions.html#ga1825a0f6b0f66b0219f4940003e35ca7">Cy_SysTick_SetReload()</a></li>
<li>Clears the SysTick counter value by calling <a class="el" href="group__group__systick__functions.html#gacf2378c36980d2d3c7277170ad15bcfc">Cy_SysTick_Clear()</a></li>
<li>Enables the SysTick by calling <a class="el" href="group__group__systick__functions.html#ga14017a044d9158c88c6cd589b6bd6895">Cy_SysTick_Enable()</a>. Note the <a class="el" href="group__group__systick__functions.html#ga14017a044d9158c88c6cd589b6bd6895">Cy_SysTick_Enable()</a> function also enables the SysTick interrupt by calling <a class="el" href="group__group__systick__functions.html#ga36398b8c61a500994e90096f92b4e694">Cy_SysTick_EnableInterrupt()</a>.</li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">clockSource</td><td>The SysTick clock source <a class="el" href="group__group__systick__data__structures.html#ga466b1e8fe4278011eab77a691ce2b8f9">cy_en_systick_clock_source_t</a> </td></tr>
    <tr><td class="paramname">interval</td><td>The SysTick reload value. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>The parameter interval is a tick value not the actual time interval. If user wants to configure systick interrupt based on time then the interval parameter value will be (((time in micro seconds) / 1000000.0) * source clock frequency in Hz)</dd></dl>
<dl class="section user"><dt>Side Effects</dt><dd>Clears the SysTick count flag if it was set. </dd></dl>

</div>
</div>
<a id="ga14017a044d9158c88c6cd589b6bd6895"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga14017a044d9158c88c6cd589b6bd6895">&#9670;&nbsp;</a></span>Cy_SysTick_Enable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_SysTick_Enable </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables the SysTick timer and its interrupt. </p>
<dl class="section user"><dt>Side Effects</dt><dd>Clears the SysTick count flag if it was set </dd></dl>

</div>
</div>
<a id="gaf371c2b11a3b5bb8241842298137167b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf371c2b11a3b5bb8241842298137167b">&#9670;&nbsp;</a></span>Cy_SysTick_Disable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_SysTick_Disable </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Disables the SysTick timer and its interrupt. </p>
<dl class="section user"><dt>Side Effects</dt><dd>Clears the SysTick count flag if it was set </dd></dl>

</div>
</div>
<a id="gac20a2349069c5268c6e3f05c6777b9c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac20a2349069c5268c6e3f05c6777b9c9">&#9670;&nbsp;</a></span>Cy_SysTick_SetCallback()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__systick__data__structures.html#ga4aa1602b88172949b1b1564c590a56ff">Cy_SysTick_Callback</a> Cy_SysTick_SetCallback </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>number</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__systick__data__structures.html#ga4aa1602b88172949b1b1564c590a56ff">Cy_SysTick_Callback</a>&#160;</td>
          <td class="paramname"><em>function</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the callback function to the specified callback number. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">number</td><td>The number of the callback function addresses to be set. The valid range is from 0 to <a class="el" href="group__group__systick__macros.html#ga13b753449adfc0805c73bf3fdd2c03e6">CY_SYS_SYST_NUM_OF_CALLBACKS</a> - 1.</td></tr>
    <tr><td class="paramname">function</td><td>The pointer to the function that will be associated with the SysTick ISR for the specified number.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__group__systick__data__structures.html#ga4aa1602b88172949b1b1564c590a56ff">Cy_SysTick_Callback</a> Returns the address of the previous callback function. The NULL is returned if the specified address in not set or incorrect parameter is specified.</dd></dl>
<dl class="section user"><dt>Side Effects</dt><dd>The registered callback functions will be executed in the interrupt. </dd></dl>

</div>
</div>
<a id="ga3fb4a65fcdb113c20d679e5d9ae5f2e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3fb4a65fcdb113c20d679e5d9ae5f2e8">&#9670;&nbsp;</a></span>Cy_SysTick_GetCallback()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__systick__data__structures.html#ga4aa1602b88172949b1b1564c590a56ff">Cy_SysTick_Callback</a> Cy_SysTick_GetCallback </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>number</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the specified callback function address. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">number</td><td>The number of the callback function address to get. The valid range is from 0 to <a class="el" href="group__group__systick__macros.html#ga13b753449adfc0805c73bf3fdd2c03e6">CY_SYS_SYST_NUM_OF_CALLBACKS</a> - 1.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__group__systick__data__structures.html#ga4aa1602b88172949b1b1564c590a56ff">Cy_SysTick_Callback</a> Returns the address of the specified callback function. The NULL is returned if the specified address in not initialized or incorrect parameter is specified. </dd></dl>

</div>
</div>
<a id="gaa8a72d8a278e4a3a970b4c4a021f3647"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa8a72d8a278e4a3a970b4c4a021f3647">&#9670;&nbsp;</a></span>Cy_SysTick_SetClockSource()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_SysTick_SetClockSource </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__systick__data__structures.html#ga466b1e8fe4278011eab77a691ce2b8f9">cy_en_systick_clock_source_t</a>&#160;</td>
          <td class="paramname"><em>clockSource</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the clock source for the SysTick counter. </p>
<p>Clears the SysTick count flag if it was set. If the clock source is not ready this function call will have no effect. After changing the clock source to the low frequency clock, the counter and reload register values will remain unchanged so the time to the interrupt will be significantly longer and vice versa.</p>
<p>Changing the SysTick clock source and/or its frequency will change the interrupt interval and <a class="el" href="group__group__systick__functions.html#ga1825a0f6b0f66b0219f4940003e35ca7" title="Sets the value the counter is set to on a startup and after it reaches zero. ">Cy_SysTick_SetReload()</a> should be called to compensate this change.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">clockSource</td><td><a class="el" href="group__group__systick__data__structures.html#ga466b1e8fe4278011eab77a691ce2b8f9">cy_en_systick_clock_source_t</a> Clock source. For the PSoC 64 devices, passing any other value than CY_SYSTICK_CLOCK_SOURCE_CLK_CPU will not affect clock source and it will be as <a class="el" href="group__group__systick__functions.html#ga6d72adec7b58994ff9097bb4a301fa95">Cy_SysTick_GetClockSource()</a> reports. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga6d72adec7b58994ff9097bb4a301fa95"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6d72adec7b58994ff9097bb4a301fa95">&#9670;&nbsp;</a></span>Cy_SysTick_GetClockSource()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__systick__data__structures.html#ga466b1e8fe4278011eab77a691ce2b8f9">cy_en_systick_clock_source_t</a> Cy_SysTick_GetClockSource </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the clock source for the SysTick counter. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__group__systick__data__structures.html#ga466b1e8fe4278011eab77a691ce2b8f9">cy_en_systick_clock_source_t</a> Clock source </dd></dl>

</div>
</div>
<a id="ga36b65972d744b6f9d5c688fc606afe1a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga36b65972d744b6f9d5c688fc606afe1a">&#9670;&nbsp;</a></span>Cy_NsSysTick_Enable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_NsSysTick_Enable </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables the Non-Secure SysTick timer and its interrupt. </p>
<dl class="section user"><dt>Side Effects</dt><dd>Clears the SysTick count flag if it was set</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This macro is available for devices having M33SYSCPUSS IP. </dd></dl>

</div>
</div>
<a id="ga5e17caf26c439a21e5dc5b7164909f4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5e17caf26c439a21e5dc5b7164909f4a">&#9670;&nbsp;</a></span>Cy_NsSysTick_Disable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_NsSysTick_Disable </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Disables the Non-Secure SysTick timer and its interrupt. </p>
<dl class="section user"><dt>Side Effects</dt><dd>Clears the SysTick count flag if it was set</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This macro is available for devices having M33SYSCPUSS IP. </dd></dl>

</div>
</div>
<a id="ga36398b8c61a500994e90096f92b4e694"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga36398b8c61a500994e90096f92b4e694">&#9670;&nbsp;</a></span>Cy_SysTick_EnableInterrupt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_SysTick_EnableInterrupt </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables the SysTick interrupt. </p>
<dl class="section user"><dt>Side Effects</dt><dd>Clears the SysTick count flag if it was set </dd></dl>

</div>
</div>
<a id="ga0948cb7614955d41fabc1885d258ddad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0948cb7614955d41fabc1885d258ddad">&#9670;&nbsp;</a></span>Cy_SysTick_DisableInterrupt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_SysTick_DisableInterrupt </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Disables the SysTick interrupt. </p>
<dl class="section user"><dt>Side Effects</dt><dd>Clears the SysTick count flag if it was set </dd></dl>

</div>
</div>
<a id="ga6c57ab9eb1027fef897bf85237cc21b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6c57ab9eb1027fef897bf85237cc21b2">&#9670;&nbsp;</a></span>Cy_NsSysTick_EnableInterrupt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_NsSysTick_EnableInterrupt </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables the Non-Secure SysTick interrupt. </p>
<dl class="section user"><dt>Side Effects</dt><dd>Clears the SysTick count flag if it was set</dd></dl>
<dl class="section note"><dt>Note</dt><dd>It is available for CAT1B devices. </dd></dl>

</div>
</div>
<a id="gafe9fc6d47acf31d335c010dc7b083bb2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafe9fc6d47acf31d335c010dc7b083bb2">&#9670;&nbsp;</a></span>Cy_NsSysTick_DisableInterrupt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_NsSysTick_DisableInterrupt </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Disables the Non-Secure SysTick interrupt. </p>
<dl class="section user"><dt>Side Effects</dt><dd>Clears the SysTick count flag if it was set</dd></dl>
<dl class="section note"><dt>Note</dt><dd>It is available for CAT1B devices. </dd></dl>

</div>
</div>
<a id="ga1825a0f6b0f66b0219f4940003e35ca7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1825a0f6b0f66b0219f4940003e35ca7">&#9670;&nbsp;</a></span>Cy_SysTick_SetReload()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_SysTick_SetReload </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the value the counter is set to on a startup and after it reaches zero. </p>
<p>This function does not change or reset the current sysTick counter value, so it should be cleared using the <a class="el" href="group__group__systick__functions.html#gacf2378c36980d2d3c7277170ad15bcfc" title="Clears the SysTick counter for a well-defined startup. ">Cy_SysTick_Clear()</a> API.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>The valid range is [0x0-0x00FFFFFF]. The counter reset value. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga6bde70df57ef74ca13af8c3f0a0b035d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6bde70df57ef74ca13af8c3f0a0b035d">&#9670;&nbsp;</a></span>Cy_SysTick_GetReload()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t Cy_SysTick_GetReload </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the value the counter is set to on a startup and after it reaches zero. </p>
<dl class="section return"><dt>Returns</dt><dd>The counter reset value. </dd></dl>

</div>
</div>
<a id="gabd317e3d43304ce55f361b31c36d6ffa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabd317e3d43304ce55f361b31c36d6ffa">&#9670;&nbsp;</a></span>Cy_SysTick_GetValue()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t Cy_SysTick_GetValue </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the current SysTick counter value. </p>
<dl class="section return"><dt>Returns</dt><dd>The current SysTick counter value. </dd></dl>

</div>
</div>
<a id="ga017a95376f255399cfb254bc33815cf7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga017a95376f255399cfb254bc33815cf7">&#9670;&nbsp;</a></span>Cy_SysTick_GetCountFlag()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t Cy_SysTick_GetCountFlag </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the values of the count flag. </p>
<p>The count flag is set once the SysTick counter reaches zero. The flag is cleared on read.</p>
<dl class="section return"><dt>Returns</dt><dd>Returns a non-zero value if a flag is set; otherwise a zero is returned.</dd></dl>
<dl class="section user"><dt>Side Effects</dt><dd>Clears the SysTick count flag if it was set.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Applicable only in Polling mode. If the SysTick interrupt is enabled, the count flag will be cleared automatically on interrupt event. </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>MTB CAT1 Peripheral driver library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
